package com.study.mirrorforest.main.model.auth.mapper;

import com.study.mirrorforest.main.model.auth.po.UsersPO;
import generator.domain.Users;
import org.apache.ibatis.annotations.Mapper;

/**
* @author 罗志
* @description 针对表【users】的数据库操作Mapper
* @createDate 2025-11-11 16:23:44
* @Entity generator.domain.Users
*/
@Mapper
public interface UsersMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Users record);

    int insertSelective(Users record);

    UsersPO selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UsersPO record);

    int updateByPrimaryKey(Users record);

    UsersPO selectByEmail(String email);

    UsersPO selectByUsername(String username);

    int insertSelective(UsersPO record);

}
